package com.pwc.fusion.controller;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

//@ControllerAdvice
public class GlobalExceptionHandler {

	//@ExceptionHandler(Exception.class)
	public String exception(Exception exception)
	{
		System.out.println("----Caught IOException----");
		
		exception.printStackTrace();
		
		return "error";
	}
}
